/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 *
 * http://www.gnu.org/copyleft/gpl.html
 */
package com.l2jfrozen.gameserver.model;

import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;

/**
 * 
 * 
 * @author Enzo
 */
public class PlayerStatus{
	
	public int level=-1;
	public int EXP=-1;
	public int STR=-1;
	public int DEX=-1;
	public int CON=-1;
	public int INT=-1;
	public int WIT=-1;
	public int MEN=-1;
	
	public int CUR_HP=-1;
	public int MAX_HP=-1;
	public int CUR_MP=-1;
	public int MAX_MP=-1;
	public int SP=-1;
	public int CUR_LOAD=-1;
	public int MAX_LOAD=-1;
	
	public int P_ATK=-1;
	public int ATK_SPD=-1;
	public int P_DEF=-1;
	public int EVASION=-1;
	public int ACCURACY=-1;
	public int CRITICAL=-1;
	public int M_ATK=-1;
	
	public int CAST_SPD=-1;
	public int M_DEF=-1;
	public int PVP_FLAG=-1;
	public int KARMA=-1;
	public int CUR_CP=-1;
	public int MAX_CP=-1;
	
	public PlayerStatus(L2PcInstance actor){
		
		level = actor.getLevel();
		EXP = (int) actor.getExp();
		STR=actor.getSTR();
		DEX=actor.getDEX();
		CON=actor.getCON();
		INT=actor.getINT();
		WIT=actor.getWIT();
		MEN=actor.getMEN();
		
		CUR_HP=(int) actor.getCurrentHp();
		MAX_HP=actor.getMaxHp();
		CUR_MP=(int) actor.getCurrentMp();
		MAX_MP=actor.getMaxMp();
		SP= actor.getSp();
		CUR_LOAD=actor.getCurrentLoad();
		MAX_LOAD=actor.getMaxLoad();
		
		P_ATK=actor.getPAtk(null);
		ATK_SPD=actor.getPAtkSpd();
		P_DEF=actor.getPDef(null);
		EVASION=actor.getEvasionRate(null);
		ACCURACY=actor.getAccuracy();
		CRITICAL=actor.getCriticalHit(null, null);
		M_ATK=actor.getMAtk(null, null);
		
		CAST_SPD=actor.getMAtkSpd();
		M_DEF=actor.getMDef(null, null);
		PVP_FLAG=actor.getPvpFlag();
		KARMA=actor.getKarma();
		CUR_CP=(int) actor.getCurrentCp();
		MAX_CP=actor.getMaxCp();
		
		
	}
	
}
